package com.yoo.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * 联系方式 实体
 * 
 * @author zhu
 *
 */
@Getter
@Setter
@ToString
@TableName("contact")
public class Contact extends Model<Contact>{

	@TableId("contact_id")
	private Long contactId;
	
	private Long authorId;
	
	private String name;
	
	private String detail;
	
	private String desc;
	
	private Date createTime;

	
	@Override
	protected Serializable pkVal() {
		return this.contactId;
	}
	
	
}
